<nav class="navbar navbar-default navbar-static-top navbar-1">
<div class="container">
	<div class="row clearfix">
		<div class="col-md-12 column">
			<div class="navbar-header">
				<a class="navbar-brand hidden-xs" href="#">欢迎使用 - <span class="phone">hiici.com</span> - 访问 - 恒信互联</a>
				<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar-collapse-main"> <span class="sr-only">Toggle navigation</span><span class="icon-bar"></span><span class="icon-bar"></span><span class="icon-bar"></span></button> 
			</div>
			<div class="collapse navbar-collapse" id="navbar-collapse-main">
				<ul class="nav navbar-nav">
					<a class="btn btn-default nav_icon" onmouseenter="nav_icon_hover()" onmouseleave="nav_icon_hover()">
						<img class="icon-img" src="img/finance/hengxin_logo_sm_1.png" height="70px">
						<center id="nav_icon_img" style="display:none" >
							<p>二维码</p>
							<img src="http://qr.liantu.com/api.php?bg=ffffff&fg=111111&el=l&w=200&m=0&text=http://<?php echo $_SERVER['HTTP_HOST'] ?>"/>
						</center>
					</a>
				</ul>	
				<ul class="nav navbar-nav navbar-right">
					<?php if (in_array($_SERVER['SERVER_NAME'], array('zb.hiici.com', 'localhost'))) { ?> 
					<li id="finance">
					<a href="<?php echo s_url('?c=finance&a=index') ?>">首页</a>
					</li>
					<li id="forum">
					<a href="<?php echo s_url('?c=forum&a=index') ?>" target="_blank">社区</a>
					</li>
					<?php } else { ?> 
					<li>
					<a href="<?php echo s_url('?c=forum&a=index') ?>">首页</a>
					</li>
					<?php } ?> 
					<?php if (!empty($_SESSION['auth'])) { ?> 
					<li id="center">
					<a href="<?php echo s_url('?c=center&a=index') ?>" target="_blank">空间</a>
					</li>
					<li id="user">
					<a id="drop_user" href="#" class="dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><?php echo $_SESSION['auth']['name'] ?></a>
					<ul id="menu_user" class="dropdown-menu" role="menu" aria-labelledby="drop_user">
						<li role="presentation"><a role="menuitem" tabindex="-1" href="<?php echo s_url('?c=account&a=index') ?>" target="_blank"><span class="glyphicon glyphicon-usd"></span> 恒币账户</a></li>
						<li role="presentation" class="divider"></li>
						<li role="presentation"><a role="menuitem" tabindex="-1" href="?c=user&a=do_logout"><span class="glyphicon glyphicon-log-out"></span> 退出</a></li>
					</ul>
					</li>
					<?php } else { ?> 
					<li id="denglu">
					<a href="<?php echo s_url('?c=user&a=login') ?>">登录</a>
					</li>
					<li id="zhuce">
					<a href="<?php echo s_url('?c=user&a=register') ?>">注册</a>
					</li>
					<?php } ?> 
				</ul>		
			</div>

		</div>
	</div>
</div>
</nav>
